package net.lzzy.practices.web.models;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.UUID;

/**
 * @author admin
 */
@Getter
@Setter
@ApiModel(description = "创建/更新章节需要的相关参数")
public class ChapterInfo extends BaseInfo{
   @ApiModelProperty(value = "章节名", required = true)
   private String name;
   @ApiModelProperty(value = "章节描述", required = true)
   private String desc;
   //    private String cover;
   @ApiModelProperty(value = "课程id")
   private String cid;
   @ApiModelProperty(value = "登录时返回的操作人的令牌", required = true)
   private boolean open;
}
